﻿@using FCDB.WEB.PagedQuery
@model FCDB.WEB.Models.PagedList<FCDB.Entity.BusiReportEntity.UserBusiStaticEntity>
@{
    ViewBag.Title = "业务统计";
    Layout = "~/Views/Shared/_POContentLayout.cshtml";
}
@section HeadIncluder
{

    <link rel="stylesheet" type="text/css" href=@Url.Content("~/Scripts/skins/default.css") />
    <script type="text/javascript" src=@Url.Content("~/Scripts/lhgdialog.min.js")></script>

}
<form id="GetForm" name="GetForm" method="get" action="@Url.Action("BusiStatic", "BusinessReport")">
    <div>
        <table class="tb-search mb10" style="width: 100%;">
            <tr>
                <td class="box " style="width: 75%;">

                    <input class="input-style-txt form-input" id="keyword" name="keyword" style="width: 120px" type="text" value="">
                    &nbsp; <input type="submit" id="submit" value="查找" class="btn btn-blue " />  

                </td>
                <td class="box aR"></td>
            </tr>
        </table>
    </div>
    <div>
        <table class="table-list mt20">
            <thead>
                <tr>
                    <th>
                        地区
                    </th>
                    <th>
                        部门
                    </th>
                    <th>
                        业务员
                    </th>
                    <th>
                        标的金额
                    </th>
                    <th>
                        合同收费
                    </th>
                    <th>
                        实际收费
                    </th>
                    <th>
                        单数
                    </th>
                </tr>
            </thead>
            <tbody>
                @if (Model != null)
                {
                    foreach (var item in Model)
                    {
                        <tr>
                            <td>@item.CompanyName</td>
                            <td>@item.DepartName</td>
                            <td>@item.UserName</td>
                            <td>@item.AmountMonthSum</td>
                            <td>@item.ContractAmountMonthSum</td> 
                            <td>@item.ActualChargeMonthSum</td> 
                            <td>@item.BusiCountMonthSum</td> 
                            AddFormAttachment
                        </tr>
                    }
                }
            </tbody>

            
        </table>
        <div class="bot_bar fn-clear J_fixeBot">
            @Html.Pager(Model, new FCDB.WEB.PagedQuery.PagerOptions
   {
       PageIndexParameterName = "pageIndex",
       AutoHide = false,
       CurrentPagerItemWrapperFormatString = "<span class=\"page_now\">{0}</span>",
       ShowGoButton = true,
       GoButtonText = "goto",
       NumericPagerItemCount = 10,
       ShowPageIndexBox = true,
       GoToPageSectionWrapperFormatString = "{0}",
       ShowMorePagerItems = true,
       NumericPagerItemWrapperFormatString = "<span class=\"item\">{0}</span>",
       CssClass = "pagebar",
       SeparatorHtml = "",
       ShowPageSize = true,
       PageSizeParameterName = "pageSize",
       PageSizeBoxType = FCDB.WEB.PagedQuery.PageSizeBoxType.TextBox
   })
        </div>
    </div>
</form>

